package com.darren.euc.service;

import java.util.List;

import com.darren.euc.entity.PageBean;
import com.darren.euc.entity.ProductType;

import net.sf.json.JSONObject;

public interface ProductTypeService {
    
	public ProductType save(ProductType productType);
    
	public ProductType update(ProductType productType);
	
	public void delete(ProductType productType);
    
	public List<ProductType> getAll();
    
	public PageBean queryForPageUseHQL(JSONObject requestJson,Integer pageSize, Integer currentPage);
    
	public List<ProductType> queryByName(String productTypeName);
}